<script type="module">
/*
- 导入Plant
- 导入Zombie
- 导入addCount，getCount, getTypes
- 创建1个plant实例
- 创建1个zombie实例
- 执行addCount 5次
- 打印getCount函数执行结果
*/
import Plant from './Plant.js'
import Zombie from './Zombie.js'
import {addCount, getCount, getTypes} from './common.js'

const plant = new Plant('')
const zombie = new Zombie('')
;[...Array(5)].forEach(() => addCount())
console.log(getCount())

</script>